<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{

	protected function initFlashMesseges(){
		
	}

	protected function _initLocale() {
		$localeValue = 'ro';
		$locale = new Zend_Locale($localeValue);
		Zend_Registry::set('Zend_Locale', $locale);

		$translate = new Zend_Translate('csv', APPLICATION_PATH . '/lang/', 'ro_RO', array('clear' => false, 'scan' => Zend_Translate::LOCALE_DIRECTORY));
		Zend_Registry::Set('Zend_Translate', $translate);
	}

	protected function _initAutoload(){

		$autoloader = new Zend_Application_Module_Autoloader(array(
        		'namespace' => 'Users_',
            		'basePath'  => APPLICATION_PATH . '/modules/users',
        		'resourceTypes' => array(
                		'forms'=>array('path'=>'/forms',
					'namespace'=>'Form')
				)
			)
		);
	}

}

